package com.order.service;

import com.common.domain.Pages.PageResult;
import com.order.domain.dto.OrderEvaluateDto;
import com.order.domain.dto.OrderReviewPageParams;
import com.order.domain.pojo.OrderReview;
import com.baomidou.mybatisplus.extension.service.IService;
import com.order.domain.vo.OrderReviewPageVo;
import com.order.domain.vo.OrderReviewVo;
import jakarta.servlet.http.HttpServletRequest;

/**
 * <p>
 * 订单评论主表 服务类
 * </p>
 *
 * @author 小杰大人
 * @since 2025-10-09
 */
public interface IOrderReviewService extends IService<OrderReview> {

    OrderReviewPageVo pageList(OrderReviewPageParams orderReviewPageParams);

    void evaluate(OrderEvaluateDto orderEvaluateDto, HttpServletRequest httpServletRequest);

    OrderReviewVo review(Long orderId);

    Boolean isReviewed(Long orderId,Long userId);
}
